package com.qiuhui.spring_boot_02.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @ClassName: MiniCar
 * @Description: TODO
 * @author: tian
 * @date: 2021/3/30  3:58 下午
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
public class MiniCar {
    @Value("意大利")
    private String Country;
    @Value("1.6t")
    private String load;
}
